<?php
/*
	插件概览
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$return['set']=$this->plugin_setting('jy');
	$return['member']=pdo_get('jy_jdk_members',array('uid'=>$_SESSION['uid']));
	exi($return);
}
if($_RQ['op']=='post'){
	$post=get_postdata();
	$user=pdo_get('jy_merch_user',array('uniacid'=>$_SESSION['uniacid'],'uname'=>$post['username']));
	
	$_SESSION['uid']=$user['id'];
	$_SESSION['member']['username']=$user['uname'];
	
	exi('提现成功','',$url);
	
}